# _*_ coding : utf-8 _*_
# @Time : 2025/9/11 15:54
# @Author :孔乙己
# @filename ： cms_api.py
from http.client import responses

import requests
from cms_config.config import *
class Cms(object):
    def __init__(self):
        self.session = requests.session()

    def login(self):
        response = self.session.post(url=login_url,data=login_data,headers=login_headers)
        return response.json()

if __name__ == '__main__':
    nasa=Cms()
    print(nasa.login())
